package com.tju.system.controller;

import com.tju.system.mapper.MessageMapper;
import com.tju.system.pojo.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 11873
 */
@Controller
@RequestMapping("/message")
public class MessageController{
    @Autowired
    MessageMapper messageMapper;

    @RequestMapping("/addMessage")
    public void addMessage(Message message){
        message.getMaessage();
    }
    
    @RequestMapping("/findMessage")
    public List<Message>findMessage(Message message){
        List<Message>list = new ArrayList<>();
       return list;
    }
}
